<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>ognl variables</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
    <p>Established locale country: <span th:text="${#locale.country}">US</span>.</p>

    <div th:object="${user}">
        <p>Name: <span th:text="${#object.firstName}">Sebastian</span>.</p>
        <p>Surname: <span th:text="${user.lastName}">Pepper</span>.</p>
        <p>Nationality: <span th:text="*{nationality}">Saturn</span>.</p>
    </div>

    <p th:text="${sessionId}"></p>
    <p th:text="${session.time}"></p>
</body>
</html>